package com.shixun.service.Impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.shixun.mapper.StatesAndCityMapper;
import com.shixun.pojo.TbCity;
import com.shixun.pojo.TbStates;
import com.shixun.service.StatesAndCityService;
@Service
public class StatesAndCityImpl implements StatesAndCityService {
    @Resource
    StatesAndCityMapper statesAndCityMapper;
    @Override
    public List<TbCity> listCity() {
        return statesAndCityMapper.queryCity();
    }
    @Override
    public List<TbStates> listStates() {
        return statesAndCityMapper.queryStates();
    }
}
